package com.jc.vm;

import java.util.ArrayList;
import java.util.List;

/**
 * vm args: -XX:PermSize=10M -XX:MaxPermSize=10M
 * @author jevoncode
 *
 */
public class PermOOMConstant {

	public static void main(String[] args) {
		List<String> list = new ArrayList<>();
		int i = 0;
		while (true) {
			list.add(String.valueOf(i++).intern());
		}
	}
}
